package 锁.lock.ProduceConsumer;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/9/5 15:35
 * @description:
 * @version:
 */
public class B extends Thread {
    ProduceCost produceCost;
    public B(ProduceCost produceCost){
        this.produceCost = produceCost;
    }

    @Override
    public void run() {
        while (true) {
            produceCost.showB();
        }
    }
}

